WP2FA\WP2FA D

Total Complexity 180
Dependencies 17
Dependents 16
Total lines 970
Lines of code 627
Logical lines of code 382
Comment lines 196
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
isUserEnforced()
D
27
47 131
is_user_excluded()
C
36 29 76
block_unconfigured_users_from_admin()
B
44 20 36
add_actions()
A
39 11 60
handle_send_test_email_ajax()
A
45 12 39
get_wp2fa_email_templates()
A
38 10 68
get_wp2fa_setting()
A
51 10 28
__construct()
A
51 9 25
replace_email_strings()
A
46 8 39
setup_redirect()
S
55 5 19
init()
S
52 4 24
getDefaultSettings()
S
49 1 33
getNumberOfPluginsText()
S
58 2 17
add_wizard_actions()
S
69 3 6
getMultiSites()
S
66 3 9
get_instance()
S
71 2 6
is_this_multisite()
S
79 2 3
wp_2fa_get_roles()
S
74 1 5
getAllSettings()
S
80 1 3